package com.neo.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @ClassName: PaymentFallbackService
 * @Title: cloud2021
 * @Package: com.neo.springcloud.service
 * @Description:
 * @Author: Kisen
 * @Date: 2021/8/19 23:19
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------PaymentFallbackService fall back-paymentInfo_OK,/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_Timout(Integer id) {
        return "-------PaymentFallbackService fall back-paymentInfo_Timout,/(ㄒoㄒ)/~~";
    }
}
